<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>修改学生信息</title>
    <style>
        .form-container {
            width: 400px;
            margin: 20px auto;
            padding: 20px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        .form-group {
            margin-bottom: 15px;
        }
        label {
            display: block;
            margin-bottom: 5px;
        }
        input[type="text"],
        input[type="number"] {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
        }
        .range-inputs {
            display: flex;
            gap: 10px;
        }
        .range-inputs input {
            width: 45%;
        }
        .btn-submit {
            background-color: #4CAF50;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        .btn-submit:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>
    <div class="form-container">
        <h2>查询要修改的学生</h2>
        <form action="update_stu_2_edit.jsp" method="post">
            <div class="form-group">
                <label for="id">学号</label>
                <input type="number" id="id" name="id">
            </div>
            <div class="form-group">
                <label for="name">姓名</label>
                <input type="text" id="name" name="name">
            </div>
            <div class="form-group">
                <label for="sex">性别</label>
                <input type="text" id="sex" name="sex">
            </div>
            <div class="form-group">
                <label for="age">年龄</label>
                <input type="number" id="age" name="age">
            </div>
            <div class="form-group">
                <label>体重范围(kg)</label>
                <div class="range-inputs">
                    <input type="number" name="minWeight" placeholder="最小值" step="0.1">
                    <input type="number" name="maxWeight" placeholder="最大值" step="0.1">
                </div>
            </div>
            <div class="form-group">
                <label>身高范围(cm)</label>
                <div class="range-inputs">
                    <input type="number" name="minHeight" placeholder="最小值" step="0.1">
                    <input type="number" name="maxHeight" placeholder="最大值" step="0.1">
                </div>
            </div>
            <button type="submit" class="btn-submit">查询</button>
        </form>
    </div>
</body>
</html> 